package com.koron.ticket.work.workyccontent.mapper;

import com.koron.ticket.work.workyccontent.bean.YcContentBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface YcContentBeanMapper {
    int deleteByPrimaryKey(String id);

    int insert(YcContentBean record);

    int insertSelective(YcContentBean record);

    YcContentBean selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(YcContentBean record);

    int updateByPrimaryKey(YcContentBean record);

    int batchInsert(@Param("list") List<YcContentBean> list);

    int deleteByWorkTicketId(@Param("workTicketId")String workTicketId);

    List<YcContentBean> queryByWorkTicketId(@Param("workTicketId")String workTicketId);


}
